package com.example.motion.exception;

import lombok.Data;

/**
 * 自定义 token 异常
 *
 * @author jxf
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
public class TokenRuntimeException extends RuntimeException {

    private Integer code = 401;
    private String msg;

    public TokenRuntimeException(String msg) {
        this.msg = msg;
    }

}